package org.hdax.dm.client;

import org.hdax.dm.entity.scheduler.DmScheduler;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "dm-scheduler-provider")
public interface DmSchedulerClient {

    @PostMapping(path = "/findByDmScheduler")
    List<DmScheduler> findByDmScheduler(@RequestBody DmScheduler dmScheduler);
}
